package com.itheima.service;

import com.itheima.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

public interface OrderSettingService {
    void add(List<OrderSetting> orderSettingList);

    List<Map<String,Integer>> getOrderSettingByMonth(String date);

    void setOrderSettingNumber(OrderSetting orderSetting);

    /*
     * 定时清理本月以前预约设置历史数据
     *
     * */
    void clearOldOrderSetting(String firstDayOfThisMonth);
}
